<?php if(!defined('ROOT_PATH')) exit('Access Denied');?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Solo管理系统</title>
<link type="text/css" rel="stylesheet" href="<?php echo APP;?>themes/admin/style/login.css" />
<script language=javascript>
function isok(loginform)
{
if (loginform.code.value=="")
  {
alert(" 验证码不能为空！");
loginform.code.focus();
return (false);
  }
if (loginform.name.value=="")
  {
alert(" 用户名不能为空！");
loginform.name.focus();
return (false);
  }
if (loginform.password.value=="")
  {
alert("对不起!密码不能为空！");
loginform.password.focus();
return (false);
  }
return (true);
}
</script>
</head>
<body>
<div id="main">
  <div id="wrap">
    <div class="logo">
      <div id="logo"></div>
    </div>
  </div>
  <div id="wrapb"></div>
  <div id="wrapc">
    <div class="login">
        <table cellpadding="0" cellspacing="0" width="100%">
        <form action ="" method="post" name="loginform"  onSubmit="return isok(this)">
          <tr>
            <th>管理员：</th>
            <td><div class="logo-icon">
                <div class="pw"></div>
                <input class="input pw2" name="name" type="text" tabindex="1" />
              </div></td>
          </tr>
          <tr>
            <th>密码：</th>
            <td><div class="logo-icon">
                <div class="pwpd"></div>
                <input class="input pwpd2" type="password" name="password" tabindex="2" />
              </div></td>
          </tr>
          <tr>
            <th>验证码：</th>
            <td><div class="logo-icon">
                <div class="code"></div>
                <input class="input code2" type="text" name="code" tabindex="3" />
              </div><img src="<?php echo APP;?>data/code.php" style="margin:2px 0 0 10px; padding:0;width:60px;float:left" onClick="this.src='<?php echo APP;?>data/code.php?'+Math.random()" alt="看不清，点击刷新" />
             </td>
          </tr>
          <tr>
            <th></th>
            <td><span class="btn"> <span>
              <button id="submit" name="submit" type="submit" value="登陆">登陆</button>
              </span></span><span class="btn"><span>
              <button type="reset">重置</button>
              </span></span></td>
          </tr>
          </form>
        </table>
    </div>
  </div>
</div>
<div class="bottom">Copyright by <span style="color:#09C">Solo</span> &copy; 2011 <span style="color:red">Loveiso.</span>Com</div>
</body>
</html>